import Vue from 'vue'
import App from './App.vue'
// import VueRouter from 'vue-router'
// import store from './store/index';

// import Manage from './components/PlatformManage/Manage';
// import Load from './components/Platform/Load.vue'
// import Store from './components/Platform/Store.vue'
// import User from './components/Platform/User.vue'
// import StoreManage from './components/storeManage/Manage.vue'
// import storeGoods from './components/store/stroeGoods.vue';
// import serveManage from './components/store/serveManage'
// Vue.use(VueRouter)

// const routes = [
//   { path: '/StoreManage', component: StoreManage ,children:[
//     { path: 'user', component: User },
//     { path: 'storeGoods', component: storeGoods },
//     { path: 'store', component: Store },
//     { path: 'serveManage', component:serveManage}
//   ]},
//   { path: '*', redirect: '/StoreManage' } /*默认跳转路由 */
// ]

// const router = new VueRouter({
//   mode:'history',
//   routes //缩写，相当于 routes:routes
// })

// import router from './storeRouter'
// import store from './goodsStore/index'

import store from './store/index'
import router from'./router.js'
import './plugins/element.js'

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
